home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / DBHASH.PY < prev    next >
Encoding:
Python Source  |  1999-04-14  |  186 b   |  9 lines

  1. """Provide a (g)dbm-compatible interface to bsdhash.hashopen."""
  2.  
  3. import bsddb
  4.  
  5. error = bsddb.error
  6.  
  7. def open(file, flag, mode=0666):
  8.     return bsddb.hashopen(file, flag, mode)
  9.